<extend name="Public/base" />

<block name="body">
    <!-- 标题栏 -->
    <div class="main-title">
        <h2>盘点列表</h2>
    </div>
    <div class="cf">
        <div class="fl">
            <a class="btn btn-default" href="{:U('Warehouse/checkflow')}">盘点</a>
        </div>
    </div>

    <!-- 数据列表 -->
    <div class="data-table table-striped">
        <table class="">
            <thead>
                <tr>
                    <th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
                    <!--<th>ID</th>-->
                    <th>盘点时间</th>
                    <th>盘点操作人</th>
                    <!--<th>操作</th>-->
                </tr>
            </thead>
            <tbody>
            <notempty name="_list">
                <volist name="_list" id="vo">
                    <tr>
                        <td><input class="ids" type="checkbox" name="id[]" value="{$vo.id}" /></td>
                        <!--<td>{$vo.id}</td>-->
                        <td>
                            <a href="{:U('Warehouse/checkflowlist')}&uid={$vo['createdUser']}&createdAt={$vo['createdAt']}" class="btn">
                                {$vo.createdAt|time_format}
                            </a>
                        </td>
                        <td>{$vo.createdUser|get_username}</td>
<!--                        <td>
                            <a href="{:U('Warehouse/checkflow?id='.$vo['id'])}" class="btn btn-primary">盘点</a>
                        </td>-->
                    </tr>
                </volist>
                <else/>
                <td colspan="9" class="text-center"> aOh! 暂时还没有内容! </td>
            </notempty>
            </tbody>
        </table>
    </div>
    <div class="page">
        {$_page}
    </div>
</block>

<block name="script">
    <script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>

    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Warehouse/checkinfolist')}');
    </script>
</block>
